package com.ocom.common.entity.access;


import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "mj_record")
public class EntityMjRecord implements Serializable {

    private static final long serialVersionUID = -2449308157229835978L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long comId;
    private Long deptId;
    private String deptName;
    private Long pId;
    private String pCode;
    private String pName;
    private Long deviceId;
    private String deviceNo;
    private String deviceName;
    private Long regionId;
    private String regionName;
    private Long areaId;
    private String areaName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date openTime;
    private Long openMode;
    private Long openState;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Long sendState;

}
